<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html>
<head>
    <%@include file="common/head.jspf"%>
    <title>修改信息</title>
</head>
<body>
<nav class="navbar text-nav" role="navigation">
    <a class="pull-left btn-back" href="/shop/"><i class="icon-chevron-left"></i></a>
    <div class="center-block nav-title">修 改 信 息</div>
</nav>
<form method="post" action="./shop/updateShopInfo">
    <input type="hidden" name="id" value="<c:out value="${shop.id}"/>"/>
    <div class="form-group">
        <label for="name">名称</label>
        <input class="form-control" id="name" name="name" type="text" value="<c:out value="${shop.name}"/>"/>
    </div>
    <div class="form-group">
        <label for="description">描述</label>
        <textarea class="form-control" id="description" name="description" rows="2"><c:out value="${shop.description}"/></textarea>
    </div>
    <div class="form-group">
        <label for="con">联系电话</label>
        <input class="form-control" id="con" name="con" type="text"  value="<c:out value="${shop.con}"/>"/>
    </div>
    <div class="form-group">
        <label for="bh">营业时间</label>
        <input class="form-control" id="bh" name="bh" type="text" value="<c:out value="${shop.bh}"/>"/>
    </div>
    <div class="form-group">
        <label for="location">地点</label>
        <input class="form-control" id="location" name="location" type="text" value="<c:out value="${shop.location}"/>"/>
    </div>
    <button class="btn btn-pa-large btn-block" type="submit">提交</button>
</form>
</body>
</html>
